package com.cyx.exam.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

/**
 * @author cyx
 * @create 2021-04-06 17:03
 */
@Data
public class UserExcel extends BaseRowModel {
    @ExcelProperty(value = "用户",index = 0)
    private String name;
    /**
     * 密码
     */
    @ExcelProperty(value = "密码",index = 1)
    private String password;

    /**
     * 班级名称
     */
    @ExcelProperty(value = "班级",index = 2)
    private String className;

    /**
     * 1-管理员，2-普通用户
     */
    @ExcelProperty(value = "权限",index = 3)
    private Integer role;
}
